package net.dodoman.log4j;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

/**
 * 04 * User: Diegoyun 05 * Date: 2006-3-4 06 * Time: 23:21:17 07
 */
public class Log4jTest {
	public static void main(String[] args) {
		Class<Log4jTest> clazz = Log4jTest.class;
		String path = clazz.getResource("./log4j.properties").getPath();
		PropertyConfigurator.configure(path);
		Logger logger = Logger.getLogger(Log4jTest.class);
		logger.debug("a test.");
	}
}